# -*- coding=utf-8 -*-
import os


class Config:
    SECRET_KEY = 'ailab'
    SQLALCHEMY_TRACK_MODIFICATIONS = True

    @staticmethod
    def init_app(app):
        pass


class DevelopmentConfig(Config):
    # SQLALCHEMY_DATABASE_URI = 'mysql+pymysql://root:xiaohanwen%40048075@cd-cdb-7ulefexy.sql.tencentcdb.com:23020/mind'
    SQLALCHEMY_DATABASE_URI = 'mysql+pymysql://root:048075@127.0.0.1:3306/mind'
    DEBUG = True


config = {
    'default': DevelopmentConfig
}
